projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e64fd
)
babl: initialize used BablModel struct member data on init
author
Øyvind Kolås
<pippin@gimp.org>
Fri, 25 Aug 2017 22:37:24 +0000
(
00:37
+0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Fri, 25 Aug 2017 22:37:37 +0000
(
00:37
+0200)
babl/babl-model.c
patch
|
blob
|
history
diff --git
a/babl/babl-model.c
b/babl/babl-model.c
index 2cec2c30c79b0594c8eb88f580b75636a7e74969..0e28a1758b56a17e3316ff9a96f7626fc6823061 100644
(file)
--- a/
babl/babl-model.c
+++ b/
babl/babl-model.c
@@
-71,6
+71,7
@@
model_new (const char *name,
babl->instance.id = id;
babl->model.components = components;
babl->model.space = space;
+ babl->model.data = NULL;
strcpy (babl->instance.name, name);
memcpy (babl->model.component, component, sizeof (BablComponent *) * components);